package com.eureka;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * Spring Cloud Eureka注册中心（可集群部署）
 * ZooKeeper CP--Consistency tolerance Paxos算法
 * Eureka A--available高可用
 */
@SpringBootApplication
@EnableEurekaServer
public class EurekaServerApplication{

    public static void main(String[] args) throws Exception {
        SpringApplication.run(EurekaServerApplication.class, args);
    }

}
